Arch Profile/ru

THIS COMMAND IS PART OF THE INTEGRATED BIM WORKBENCH IN V1.0
This page has been updated for that version.

Профиль

Расположение в меню
Arch → Профиль
Верстаки
Arch
Быстрые клавиши
Нет
Представлено в версии
0.19
См. также
Нет

Описание

The Arch Profile tool builds a parametric 2D profile object. This object can then be used as a base in different other tools that perform extrusions, such as Arch Frame, Arch CurtainWall or Part Extrude.

See the list of available presets.

The profile tool is also integrated to the Arch Structure tool, all preset profiles are also available there.

Применение

  1. Press the Profile button
  2. Select a preset in the tool task panel
  3. Click a point in the 3D view to place the profile

Свойства

Данные

Adding custom profiles

An additional CSV file can be created by the user, containing custom profile definitions. It must be named profiles.csv, and placed in

$FREECAD_USER_DIR/BIM/

The $FREECAD_USER_DIR can be obtained from the Python console:

FreeCAD.getUserAppDataDir()

The contents of your custom profiles.csv file must be modeled upon the same rules as the profiles.csv in the source code.

The CSV file must contain one line per available profile, formatted as follows:

All measurements must be in millimeters. Possible profile classes are:

Additional profile types can be created, but a corresponding class must first be defined in ArchProfile.py.

Программирование

The Profile tool can be used in macros and from the Python console by using the following function:

profile = makeProfile(profile_list)

Where profile_list contains the different elements of a list in the CSV file.

Пример:

import Arch
Arch.makeProfile([0, 'REC', 'REC100x100', 'R', 100, 100])

Where the first element of the list is an order number that is not used yet.